<nav aria-label="breadcrumb">
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
        <li class="breadcrumb-item"><a href="{tsUrl('user')}">{$TS_APP['appname']}</a></li>
        <li class="breadcrumb-item active" aria-current="page">{$strUser['username']}</li>
    </ol>
</nav>


<div class="card">
    <div class="card-body">



        <div class="row">
            <div class="col-md-8">


                <div class="media">
                    <img class="mr-3 rounded-circle" src="{$strUser[face]}" alt="{$strUser[username]}" width="56">
                    <div class="media-body">

                        <h1 class="h4 fw400">{$strUser['username']} <a href="{tsUrl('user','verify')}">{if $strUser['isverify']==1}<img src="{SITE_URL}public/images/rz1.png" alt="通过Email认证" title="通过Email认证" align="absmiddle" width="20" />{else}<img src="{SITE_URL}public/images/rz2.png" alt="未通过Email认证" title="未通过Email认证" align="absmiddle" width="20" />{/if}</a>

                            {if $strUser['isrenzheng']==1}
                            <img src="{SITE_URL}public/images/renzheng1.png" width="20" alt="通过人工认证" title="通过人工认证" />
                            {else}
                            <img src="{SITE_URL}public/images/renzheng2.png" width="20" alt="未通过人工认证" title="未通过人工认证" />
                            {/if}</h1>


                        <div class="text-black-50">
                            {if $strUser['signed']}{$strUser['signed']}{else}懒的都不写签名{/if}
                        </div>



                    </div>
                </div>



            </div>
            <div class="col-md-4">


                <div class="mt-2 text-right">
                    {if $strUser[userid] != $TS_USER[userid]}
                    {if $strUser[isfollow]}
                    <a class="btn btn-outline-secondary btn-sm" href="javascript:void('0');" onclick="unfollow('{$strUser['userid']}','{$_SESSION['token']}');">取消关注</a>
                    {else}
                    <a class="btn btn-info btn-sm" href="javascript:void('0')" onclick="follow('{$strUser['userid']}','{$_SESSION['token']}');">关注</a>
                    {/if}


                    {if $TS_USER}
                    <a href="{tsUrl('user','message',array('ts'=>'add','touserid'=>$strUser['userid']))}" rel="nofollow" class="btn btn-outline-secondary btn-sm">发消息</a>
                    {/if}


                    {/if}
                </div>


            </div>
        </div>




        <div class="border-top pt-3 mt-3">
            <a class="btn btn-sm {if $ac=='space'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','space',array('id'=>$strUser['userid']))}">关于</a>
            <a class="btn btn-sm {if $ac=='topic'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','topic',array('id'=>$strUser['userid']))}">帖子</a>
            <a class="btn btn-sm {if $ac=='group'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','group',array('id'=>$strUser['userid']))}">小组</a>
            <a class="btn btn-sm {if $ac=='article'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','article',array('id'=>$strUser['userid']))}">文章</a>
            
            <a class="btn btn-sm {if $ac=='followed'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','followed',array('id'=>$strUser['userid']))}">粉丝</a>
            <a class="btn btn-sm {if $ac=='follow'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','follow',array('id'=>$strUser['userid']))}">关注</a>

            <a class="btn btn-sm {if $ac=='guestbook'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('user','guestbook',array('id'=>$strUser['userid']))}">留言</a>

        </div>





    </div>
</div>




